package com.baozheyangken.ai_learn.mapper;

import com.baozheyangken.ai_learn.pojo.entity.Course;
import com.baozheyangken.ai_learn.pojo.entity.DifficultyLevel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import java.util.List;

@Mapper
public interface DifficultyLevelMapper {

    Course getCourseById(Long courseId);

    List<DifficultyLevel> getDifficultyIds();

    DifficultyLevel getDifficultyLevelById(Long difficultyId);

    Integer getDifficultyIdByLevelName(String difficultyName);

    List<String> getAllLevelNames();

}
